/*
 *    Document   : FancyCountries
 *    Created on : 12/03/2013, 08:17:04
 *    Author     : Fiúza <rbfiuza@gmail.com>
 */

Ext.define('FC.store.FancyCountries', {
    extend: 'Ext.data.Store',
    model: 'FC.model.Country',
    autoLoad: false,
    pageSize: 9999,

    proxy: {
        type: 'ajax',
        url: 'CountryServlet',
        reader: {
            type: 'json',
            root: 'countries',
            totalProperty: 'totalCount',
            successProperty: 'success'
        }
     }
      
});